Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Param support added #63

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

vikram2330
Copy link

Added annotations for more support
QueryParams - supports query string params for GET request
for eg.
@Barricade(endpoint = "/jokes/random", queryParams = { @queryParams( params = {@params(name = "path",value = "success")} , response = @response(fileName = "success.json",isDefault = true)), @queryParams( params = {@params(name = "path",value = "failure")} , response = @response(fileName = "failure.json", statusCode = 401)) })

UrlPath - supports dynamic url endpoints for retrofit requests
for eg.
@Barricade(endpoint = "/jokes/", path = {@UrlPath(path = "path", responses = { @response(fileName = "success.json") }) })

Also now we can enable or disable ShakeListener.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants